package com.zenghus.view.simpl;

import com.zenghus.view.simpl.core.EventLisenter;

public class Mouse extends EventLisenter{
    public void click(){
        System.out.println("触发click事件！");
        this.trigger(MouseEventType.CLICK);
    }

    public void up(){
        System.out.println("触发up事件！");
        this.trigger(MouseEventType.UP);
    }

    public void down(){
        System.out.println("触发down事件！");
        this.trigger(MouseEventType.DOWN);
    }
}
